import { CommandCheck } from "./base";
import Insert from "../insert";

@Insert
export class CommandCheckNpc extends CommandCheck {
    constructor() {
        super()
        this.name = "检查NPC"
        this.tags.push("NPC", "存在", "周围", "npc", "Npc")
        this.detail = "如果[NPC,$姓名$=1,$逻辑块$]"
        this.insert = "如果[NPC,${1:姓名}${2:=}${3:1},${4:跳转到}]"
        this.docs = "判断指定NPC是否在附近.\n\n例子:\n\n1.如果[NPC,药店*=1,对话药店]\n2.如果[NPC,药店*=0,寻路药店]"
    }
}

@Insert
export class CommandCheckMap extends CommandCheck {
    constructor() {
        super()
        this.name = "检查地图"
        this.tags.push("地图", "到达")
        this.detail = "如果[地图,$地图名$=1,$逻辑块$]"
        this.insert = "如果[地图,${1:地图名}${2:=}${3:1},${4:跳转到}]"
        this.docs = "判断角色是否处于指定地图.\n\n例子:\n\n1.如果[地图,京城=1,前往领双]\n2.如果[地图,京城=0,前往京城]"
    }
}

@Insert
export class CommandCheckItem extends CommandCheck {
    constructor() {
        super()
        this.name = "检查道具"
        this.tags.push("物品", "道具")
        this.detail = "如果[物品,$物品名$=1,$逻辑块$]"
        this.insert = "如果[物品,${1:物品名}${2:=}${3:1},${4:跳转到}]"
        this.docs = "判断背包持有指定物品数量.\n\n例子:\n\n1.如果[物品,启灵珠=0,缺少启灵]\n2.如果[物品,启灵珠>0,前往启灵]"
    }
}

@Insert
export class CommandCheckUnBindItem extends CommandCheck {
    constructor() {
        super()
        this.name = "检查非绑定道具"
        this.tags.push("物品", "道具", "非绑定", "非绑", "数量")
        this.detail = "如果[物品(非绑定),$物品名$=1,$逻辑块$]"
        this.insert = "如果[物品(非绑定),${1:物品名}${2:=}${3:1},${4:跳转到}]"
        this.docs = "判断背包持有非绑定的指定物品数量.\n\n例子:\n\n1.如果[物品(非绑定),*配方>0,转移配方]\n2.如果[物品(非绑定),怒从心生=0,制作怒气]"
    }
}

@Insert
export class CommandCheckUnBindEquip extends CommandCheck {
    constructor() {
        super()
        this.name = "检查非绑定装备"
        this.tags.push("物品", "道具", "非绑定", "非绑", "装备", "数量")
        this.detail = "如果[物品(非绑定),装备数量>0,$逻辑块$]"
        this.insert = "如果[物品(非绑定),装备数量${1:=}${2:0},${3:跳转到}]"
        this.docs = "判断背包持有非绑定的装备数量.\n\n例子:\n\n1.如果[物品(非绑定),装备数量>0,前往炼金]\n2.如果[物品(非绑定),装备数量=0,等待制造]"
    }
}

@Insert
export class CommandCheckBagSpace extends CommandCheck {
    constructor() {
        super()
        this.name = "检查背包空间"
        this.tags.push("背包", "剩余", "包裹")
        this.detail = "如果[包裹,剩余空间>0,$逻辑块$]"
        this.insert = "如果[包裹,剩余空间${1:=}${2:0},${3:跳转到}]"
        this.docs = "判断包裹当前剩余空格.\n\n例子:\n\n1.如果[包裹,剩余空间>0,制造怒气]\n2.如果[包裹,剩余空间=0,邮寄怒气]"
    }
}

@Insert
export class CommandCheckBattleBagSpace extends CommandCheck {
    constructor() {
        super()
        this.name = "检查战斗背包空间"
        this.tags.push("背包", "剩余", "战斗背包", "包裹")
        this.detail = "如果[战斗包裹,剩余空间>0,$逻辑块$]"
        this.insert = "如果[战斗包裹,剩余空间${1:=}${2:0},${3:跳转到}]"
        this.docs = "判断战斗包裹当前剩余空格.\n\n例子:\n\n1.如果[战斗包裹,剩余空间>,移动怒气]\n2.如果[战斗包裹,剩余空间=0,结束]"
    }
}

@Insert
export class CommandCheckBagItems extends CommandCheck {
    constructor() {
        super()
        this.name = "检查多个道具"
        this.tags.push("物品", '道具', '多个')
        this.detail = "如果[物品,条件,$物品$=1||$物品$=2&&$物品$=3,$逻辑块$]"
        this.insert = "如果[物品,条件,${1:物品}${2:=}${3:1}${4:||}${5:...},${6:跳转到}]"
        this.docs = "同时检查背包多个道具数量.\n\n例子:\n\n1.如果[物品,条件,观音水=0&&行军丹=0,补充血药]\n2.如果[物品,条件,启灵珠<10||高级启灵幸运石<10,补充道具]"
    }
}

@Insert
export class CommandCheckTeam extends CommandCheck {
    constructor() {
        super()
        this.name = "检查队伍"
        this.tags.push("队伍")
        this.detail = "如果[队伍,队伍=1,$逻辑块$]"
        this.insert = "如果[队伍,队伍${1:=}${2:1},${3:跳转到}]"
        this.docs = "检查是否加入队伍.\n\n例子:\n\n1.如果[队伍,队伍=1,等待任务]\n2.如果[队伍,队伍=0,寻找队长]"
    }
}

@Insert
export class CommandCheckTeamLeader extends CommandCheck {
    constructor() {
        super()
        this.name = "检查队长"
        this.tags.push("队伍", "队长")
        this.detail = "如果[队伍,队长=1,$逻辑块$]"
        this.insert = "如果[队伍,队长${1:=}${2:1},${3:跳转到}]"
        this.docs = "检查是否拥有队长.\n\n例子:\n\n1.如果[队伍,队长=1,邀请队员]\n2.如果[队伍,队长=0,寻找队长]"
    }
}

@Insert
export class CommandCheckTeamTempLeave extends CommandCheck {
    constructor() {
        super();
        this.name = "检查暂离状态";
        this.detail = "如果[队伍,暂离=1,$逻辑块$]";
        this.insert = "如果[队伍,暂离${1:=}${2:1},${3:跳转到}]";
        this.docs = "";
        this.tags.push("队伍", "暂离");
    }
}

@Insert
export class CommandCheckCountTeamTempLeave extends CommandCheck {
    constructor() {
        super();
        this.name = "检查暂离人数";
        this.detail = "如果[队伍,暂离人数=1,$逻辑块$]";
        this.insert = "如果[队伍,暂离人数${1:=}${2:1},${3:跳转到}]";
        this.docs = "";
        this.tags.push("队伍", "暂离", "人数");
    }
}

@Insert
export class CommandCheckCountTeamOffline extends CommandCheck {
    constructor() {
        super();
        this.name = "检查离线人数";
        this.detail = "如果[队伍,离线人数=1,$逻辑块$]";
        this.insert = "如果[队伍,离线人数${1:=}${2:1},${3:跳转到}]";
        this.docs = "";
        this.tags.push("队伍", "离线", "人数");
    }
}

@Insert
export class CommandCheckCountTeam extends CommandCheck {
    constructor() {
        super();
        this.name = "检查队伍人数";
        this.detail = "如果[队伍,队伍人数=1,$逻辑块$]";
        this.insert = "如果[队伍,队伍人数${1:=}${2:1},${3:跳转到}]";
        this.docs = "";
        this.tags.push("队伍", "人数");
    }
}

@Insert
export class CommandCheckTeamMember extends CommandCheck {
    constructor() {
        super();
        this.name = "检查队员";
        this.detail = "如果[队伍,队员=$名字$,$逻辑块$]";
        this.insert = "如果[队伍,队员${1:=}${2:名字},${3:跳转到}]";
        this.docs = "";
        this.tags.push("队伍", "队员");
    }
}

@Insert
export class CommandCheckTeamMemberMinLevel extends CommandCheck {
    constructor() {
        super();
        this.name = "检查队员最低等级";
        this.detail = "如果[队伍,队员最低等级>0,$逻辑块$]";
        this.insert = "如果[队伍,队员最低等级${1:>}${2:0},${3:跳转到}]";
        this.docs = "";
        this.tags.push("队伍", "队员", "最低", "等级");
    }
}

@Insert
export class CommandCheckRangePlayer extends CommandCheck {
    constructor() {
        super();
        this.name = "检查周围玩家";
        this.detail = "如果[周围玩家,$名字$=1,$逻辑块$]";
        this.insert = "如果[周围玩家,${1:名字}${2:=}${3:1},${4:跳转到}]";
        this.docs = "";
        this.tags.push("周围", "玩家", "附近", "范围");
    }
}

@Insert
export class CommandCheckVisbleMonster extends CommandCheck {
    constructor() {
        super();
        this.name = "检查明怪";
        this.detail = "如果[明怪,$怪物$=1,$逻辑块$]";
        this.insert = "如果[明怪,${1:怪物}${2:=}${3:1},${4:跳转到}]";
        this.docs = "";
        this.tags.push("明怪", "怪物", "野怪");
    }
}

@Insert
export class CommandCheckTask extends CommandCheck {
    constructor() {
        super();
        this.name = "检查任务";
        this.detail = "如果[任务,$任务$=1,$逻辑块$]";
        this.insert = "如果[任务,${1:任务}${2:=}${3:1},${4:跳转到}]";
        this.docs = "状态枚举:\n0:不存在\n1:未完成\n2:已完成";
        this.tags.push("任务", "状态");
    }
}

@Insert
export class CommandCheckTaskCount extends CommandCheck {
    constructor() {
        super();
        this.name = "检查任务次数";
        this.detail = "如果[任务,$任务$,次数>1,$逻辑块$]";
        this.insert = "如果[任务,${1:任务},次数${2:>}${3:1},${4:跳转到}]";
        this.docs = "";
        this.tags.push("任务", "次数");
    }
}

@Insert
export class CommandCheckTaskTurnCount extends CommandCheck {
    constructor() {
        super();
        this.name = "检查任务轮数";
        this.detail = "如果[任务,$任务$,轮数>1,$逻辑块$]";
        this.insert = "如果[任务,${1:任务},轮数${2:>}${3:1},${4:跳转到}]";
        this.docs = "";
        this.tags.push("任务", "轮数");
    }
}

@Insert
export class CommandCheckTaskLoopCount extends CommandCheck {
    constructor() {
        super();
        this.name = "检查任务环数";
        this.detail = "如果[任务,$任务$,环数>1,$逻辑块$]";
        this.insert = "如果[任务,${1:任务},环数${2:>}${3:1},${4:跳转到}]";
        this.docs = "";
        this.tags.push("任务", "环数");
    }
}

@Insert
export class CommandCheckTaskNeedEquip extends CommandCheck {
    constructor() {
        super();
        this.name = "检查任务需求装备";
        this.detail = "如果[任务,$任务$,需要装备,$装备$=1,$逻辑块$]";
        this.insert = "如果[任务,${1:任务},需要装备,${2:装备}=1,${3:跳转到}]";
        this.docs = "";
        this.tags.push("任务", "需要", "装备", "需求");
    }
}

@Insert
export class CommandCheckTaskNeedItem extends CommandCheck {
    constructor() {
        super();
        this.name = "检查任务需求物品";
        this.detail = "如果[任务,$任务$,需要物品,$物品$=1,$逻辑块$]";
        this.insert = "如果[任务,${1:任务},需要物品,${2:物品}=1,${3:跳转到}]";
        this.docs = "";
        this.tags.push("任务", "需要", "物品", "需求");
    }
}

@Insert
export class CommandCheckTaskNeedPet extends CommandCheck {
    constructor() {
        super();
        this.name = "检查任务需求宠物";
        this.detail = "如果[任务,$任务$,拥有宠物,$宠物$=1,$逻辑块$]";
        this.insert = "如果[任务,${1:任务},拥有宠物,${2:宠物}=1,${3:跳转到}]";
        this.docs = "";
        this.tags.push("任务", "拥有", "宠物", "需求", "需要");
    }
}

@Insert
export class CommandCheckTaskPlace extends CommandCheck {
    constructor() {
        super();
        this.name = "检查任务地点";
        this.detail = "如果[任务,$任务$,地点,$地点$=1,$逻辑块$]";
        this.insert = "如果[任务,${1:任务},地点,${2:地点}=1,${3:跳转到}]";
        this.docs = "";
        this.tags.push("任务", "地点", "终点");
    }
}

@Insert
export class CommandCheckTaskMovePlace extends CommandCheck {
    constructor() {
        super();
        this.name = "检查任务达到地点";
        this.detail = "如果[任务,$任务$,到达地点,$地点$=1,$逻辑块$]";
        this.insert = "如果[任务,${1:任务},到达地点,${2:地点}=1,${3:跳转到}]";
        this.docs = "";
        this.tags.push("任务", "终点", "地点");
    }
}

@Insert
export class CommandCheckTaskMoveMap extends CommandCheck {
    constructor() {
        super();
        this.name = "检查任务目标地图";
        this.detail = "如果[任务,$任务$,目标地图,$地点$=1,$逻辑块$]";
        this.insert = "如果[任务,${1:任务},目标地图,${2:地点}=1,${3:跳转到}]";
        this.docs = "";
        this.tags.push("任务", "目标地图", "终点");
    }
}

@Insert
export class CommandCheckTaskNpc extends CommandCheck {
    constructor() {
        super();
        this.name = "检查任务目标NPC";
        this.detail = "如果[任务,$任务$,目标NPC,$名字$=1,$逻辑块$]";
        this.insert = "如果[任务,${1:任务},目标NPC,${2:名字}=1,${3:跳转到}]";
        this.docs = "";
        this.tags.push("任务", "目标", "npc", "NPC", "Npc");
    }
}

@Insert
export class CommandCheckTaskSubmitMap extends CommandCheck {
    constructor() {
        super();
        this.name = "检查交任务地图";
        this.detail = "如果[任务,$任务$,交任务地图,$地图$=1,$逻辑块$]";
        this.insert = "如果[任务,${1:任务},交任务地图,${2:地图}=1,${3:跳转到}]";
        this.docs = "";
        this.tags.push("任务", "地图", "地点", "提交");
    }
}

@Insert
export class CommandCheckTaskSubmitNpc extends CommandCheck {
    constructor() {
        super();
        this.name = "检查交任务NPC";
        this.detail = "如果[任务,$任务$,交任务NPC,$名字$=1,$逻辑块$]";
        this.insert = "如果[任务,${1:任务},交任务NPC,${2:名字}=1,${3:跳转到}]";
        this.docs = "";
        this.tags.push("任务", "NPC", "Npc", "npc", "提交");
    }
}

@Insert
export class CommandCheckTimeTaskMoveMap extends CommandCheck {
    constructor() {
        super();
        this.name = "检查限时任务目标地图";
        this.detail = "如果[任务,$任务$,限时任务目标地图,$地图$=1,$逻辑块$]";
        this.insert = "如果[任务,${1:任务},限时任务目标地图,${2:地图}=1,${3:跳转到}]";
        this.docs = "";
        this.tags.push("任务", "限时", "计时", "目标地图", "终点");
    }
}


@Insert
export class CommandCheckTimeTaskNpc extends CommandCheck {
    constructor() {
        super();
        this.name = "检查限时任务目标NPC";
        this.detail = "如果[任务,$任务$,限时任务目标NPC,$名字$=1,$逻辑块$]";
        this.insert = "如果[任务,${1:任务},限时任务目标NPC,${2:名字}=1,${3:跳转到}]";
        this.docs = "";
        this.tags.push("任务", "限时", "计时", "目标", "npc", "NPC", "Npc");
    }
}

@Insert
export class CommandCheckTaskDetail extends CommandCheck {
    constructor() {
        super();
        this.name = "检查任务描述";
        this.detail = "如果[任务,$任务$,任务描述,$内容$=1,$逻辑块$]";
        this.insert = "如果[任务,${1:任务},任务描述,${2:内容}=1,${3:跳转到}]";
        this.docs = "";
        this.tags.push("任务", "描述");
    }
}

@Insert
export class CommandCheckLegendTaskFurniture extends CommandCheck {
    constructor() {
        super();
        this.name = "检查传说任务装饰房子";
        this.detail = "如果[传说任务,装饰房子=1,$逻辑块$]";
        this.insert = "如果[传说任务,装饰房子${1:=}${2:1},${3:跳转到}]";
        this.docs = "";
        this.tags.push("任务", "传说任务", "装饰房子", "家具", "限时", "房子");
    }
}

@Insert
export class CommandCheckLegendTaskItem extends CommandCheck {
    constructor() {
        super();
        this.name = "检查传说任务找寻物品";
        this.detail = "如果[传说任务,找寻物品=1,$逻辑块$]";
        this.insert = "如果[传说任务,找寻物品${1:=}${2:1},${3:跳转到}]";
        this.docs = "";
        this.tags.push("任务", "传说任务", "找寻物品", "物品", "限时");
    }
}

@Insert
export class CommandCheckLegendTaskFavorite extends CommandCheck {
    constructor() {
        super();
        this.name = "检查传说任务收集癖好";
        this.detail = "如果[传说任务,收集癖好=1,$逻辑块$]";
        this.insert = "如果[传说任务,收集癖好${1:=}${2:1},${3:跳转到}]";
        this.docs = "";
        this.tags.push("任务", "传说任务", "收集癖好", "癖好", "限时");
    }
}

@Insert
export class CommandCheckTask传说 extends CommandCheck {
    constructor() {
        super();
        this.name = "检查传说任务状态";
        this.detail = "如果[传说任务,$任务$=3,$逻辑块$]";
        this.insert = "如果[传说任务,${1:任务}=${2:3},${3:跳转到}]";
        this.docs = "状态枚举:\n0:不存在\n1:未完成\n2:已完成\n3:已超时";
        this.tags.push("任务", "传说任务", "状态");
    }
}

@Insert
export class CommandCheckNpcTalk extends CommandCheck {
    constructor() {
        super();
        this.name = "检查NPC对话";
        this.detail = "如果[对话,$内容$=1,$逻辑块$]";
        this.insert = "如果[对话,${1:内容}=${2:1},${3:跳转到}]";
        this.docs = "";
        this.tags.push("对话", "NPC", "npc", "Npc");
    }
}

@Insert
export class CommandCheckNpcTalkWindow extends CommandCheck {
    constructor() {
        super();
        this.name = "检查NPC对话窗口";
        this.detail = "如果[对话,对话窗口=1,$逻辑块$]";
        this.insert = "如果[对话,对话窗口=${1:1},${2:跳转到}]";
        this.docs = "状态枚举:\n0:当前没有对话窗口显示\n1:当前有正在显示中的对话窗口";
        this.tags.push("对话", "窗口", "NPC", "npc", "Npc");
    }
}

@Insert
export class CommandCheckRoleName extends CommandCheck {
    constructor() {
        super();
        this.name = "检查角色名称";
        this.detail = "如果[角色,名称=$名字$,$逻辑块$]";
        this.insert = "如果[角色,名称=${1:名字},${2:跳转到}]";
        this.docs = "";
        this.tags.push("角色", "名称", "名字");
    }
}

@Insert
export class CommandCheckRoloSchool extends CommandCheck {
    constructor() {
        super();
        this.name = "检查角色门派";
        this.detail = "如果[角色,门派=$门派$,$逻辑块$]";
        this.insert = "如果[角色,门派=${1:门派},${2:跳转到}]";
        this.docs = "";
        this.tags.push("角色", "门派");
    }
}

@Insert
export class CommandCheckRoleLevel extends CommandCheck {
    constructor() {
        super();
        this.name = "检查角色等级";
        this.detail = "如果[角色,等级=$等级$,$逻辑块$]";
        this.insert = "如果[角色,等级${1:=}${2:等级},${3:跳转到}]";
        this.docs = "";
        this.tags.push("角色", "等级", "级别");
    }
}

@Insert
export class CommandCheckRoleEnergy extends CommandCheck {
    constructor() {
        super();
        this.name = "检查角色活力";
        this.detail = "如果[角色,活力=$活力$,$逻辑块$]";
        this.insert = "如果[角色,活力${1:=}${2:逻辑},${3:跳转到}]";
        this.docs = "";
        this.tags.push("角色", "活力");
    }
}

@Insert
export class CommandCheckRoleStatus extends CommandCheck {
    constructor() {
        super();
        this.name = "检查角色状态";
        this.detail = "如果[角色,状态=$状态,$逻辑块$]";
        this.insert = "如果[角色,状态=${1:状态},${2:跳转到}]";
        this.docs = "状态枚举:\n1.三倍经验\n2.摄妖香\n3.闭关\n......";
        this.tags.push("检查", "角色", "状态");
    }
}

@Insert
export class CommandCheckRolePotential extends CommandCheck {
    constructor() {
        super();
        this.name = "检查角色潜能";
        this.detail = "如果[角色,潜能>0,$逻辑块$]";
        this.insert = "如果[角色,潜能${1:>}${2:0},${3:跳转到}]";
        this.docs = "";
        this.tags.push("角色", "潜能", "潜力");
    }
}

@Insert
export class CommandCheckRoleFund extends CommandCheck {
    constructor() {
        super();
        this.name = "检查角色储备";
        this.detail = "如果[角色,储备>0,$逻辑块$]";
        this.insert = "如果[角色,储备${1:>}${2:0},${3:跳转到}]";
        this.docs = "";
        this.tags.push("角色", "储备", "金钱");
    }
}

@Insert
export class CommandCheckRoleMoney extends CommandCheck {
    constructor() {
        super();
        this.name = "检查角色银两";
        this.detail = "如果[角色,银两>0,$逻辑块$]";
        this.insert = "如果[角色,银两${1:>}${2:0},${3:跳转到}]";
        this.docs = "";
        this.tags.push("角色", "储备", "金钱");
    }
}

@Insert
export class CommandCheckRoleExp extends CommandCheck {
    constructor() {
        super();
        this.name = "检查角色当前经验";
        this.detail = "如果[角色,当前经验>$数值$,$逻辑块$]";
        this.insert = "如果[角色,当前经验>${1:数值},${2:跳转到}]";
        this.docs = "";
        this.tags.push("角色", "经验");
    }
}

@Insert
export class CommandCheckRoleLevelExp extends CommandCheck {
    constructor() {
        super();
        this.name = "检查角色升级经验";
        this.detail = "如果[角色,升级经验>$数值$,$逻辑块$]";
        this.insert = "如果[角色,升级经验>${1:数值},${2:跳转到}]";
        this.docs = "";
        this.tags.push("角色", "经验");
    }
}

@Insert
export class CommandCheckRoleGameStatus extends CommandCheck {
    constructor() {
        super();
        this.name = "检查角色游戏状态";
        this.detail = "如果[角色,游戏状态=$状态$,$逻辑块$]";
        this.insert = "如果[角色,游戏状态=${1:状态},${2:跳转到}]";
        this.docs = "状态枚举:\n1:登录界面\n2:进入游戏界面\n3:已经登录\n4:正在登录";
        this.tags.push("角色", "状态");
    }
}

@Insert
export class CommandCheckRoleGatherStatus extends CommandCheck {
    constructor() {
        super();
        this.name = "检查角色采集状态";
        this.detail = "如果[角色,采集状态=$数值$,$逻辑块$]";
        this.insert = "如果[角色,采集状态=${1:数值},${2:跳转到}]";
        this.docs = "状态枚举:\n8/9:采矿\n16/17:伐木\n32/33:狩猎";
        this.tags.push("角色", "状态", "采集");
    }
}

@Insert
export class CommandCheckRoleCardCount extends CommandCheck {
    constructor() {
        super();
        this.name = "检查角色卡牌数量";
        this.detail = "如果[角色,卡牌数量>$数量$,$逻辑块$]";
        this.insert = "如果[角色,卡牌数量>${1:数值},${2:跳转到}]";
        this.docs = "";
        this.tags.push("角色", "卡牌", "数量", "八卦");
    }
}

@Insert
export class CommandCheckRoleCachet extends CommandCheck {
    constructor() {
        super();
        this.name = "检查角色声望";
        this.detail = "如果[角色,声望,$声望$>0,$逻辑块$]";
        this.insert = "如果[角色,声望,${1:声望}>0,${2:跳转到}]";
        this.docs = "";
        this.tags.push("角色", "声望", "积分");
    }
}

@Insert
export class CommandCheckWeek extends CommandCheck {
    constructor() {
        super();
        this.name = "检查日期";
        this.detail = "如果[周,周一=1,$逻辑块$]";
        this.insert = "如果[周,周${1:一}=1,${2:跳转到}]";
        this.docs = "";
        this.tags.push("日期", "周");
    }
}

@Insert
export class CommandCheckDate extends CommandCheck {
    constructor() {
        super();
        this.name = "检查时间";
        this.detail = "如果[时间,当前时间>12:00,$逻辑块$]";
        this.insert = "如果[时间,当前时间${1:>}${2:12:00},${3:跳转到}]";
        this.docs = "";
        this.tags.push("日期", "时间");
    }
}

@Insert
export class CommandCheckPet extends CommandCheck {
    constructor() {
        super();
        this.name = "检查宠物";
        this.detail = "如果[宠物,$宠物$=1,$逻辑块$]";
        this.insert = "如果[宠物,${1:宠物}=1,${2:跳转到}]";
        this.docs = "";
        this.tags.push("宠物");
    }
}

@Insert
export class CommandCheckPetCount extends CommandCheck {
    constructor() {
        super();
        this.name = "检查宠物数量";
        this.detail = "如果[宠物,个数>0,$逻辑块$]";
        this.insert = "如果[宠物,个数${1:>}${2:0},${3:跳转到}]";
        this.docs = "";
        this.tags.push("宠物", "数量");
    }
}

@Insert
export class CommandCheckPetAptitude extends CommandCheck {
    constructor() {
        super();
        this.name = "检查宠物资质";
        this.detail = "如果[宠物,$宠物$,$资质$=90,$逻辑块$]";
        this.insert = "如果[宠物,${1:宠物},${2:资质}${3:>}${4:90},${5:跳转到}]";
        this.docs = "资质枚举:\n1.气血资质\n2.速度资质\n3.物攻资质\n4.物防资质\n5.法攻资质\n6.法防资质\n7.成长率\n8.等级\n9.技能个数";
        this.tags.push("宠物", "资质", "等级", "技能", "成长");
    }
}

@Insert
export class CommandCheckPetSkill extends CommandCheck {
    constructor() {
        super();
        this.name = "检查宠物技能";
        this.detail = "如果[宠物,$宠物$,技能名称,$技能$=1,$逻辑块$]";
        this.insert = "如果[宠物,${1:宠物},技能名称,${2:技能}=${3:1},${4:跳转到}]";
        this.docs = "";
        this.tags.push("宠物", "技能");
    }
}

@Insert
export class CommandCheckAccountRoleIndex extends CommandCheck {
    constructor() {
        super();
        this.name = "检查账号角色下标";
        this.detail = "如果[账号,角色下标=0,$逻辑块$]";
        this.insert = "如果[账号,角色下标=${1:0},${2:跳转到}]";
        this.docs = "";
        this.tags.push("账号", "角色", "下标", "位置");
    }
}

@Insert
export class CommandCheckAccountRoleLast extends CommandCheck {
    constructor() {
        super();
        this.name = "检查账号底部角色";
        this.detail = "如果[账号,底部角色=1,$逻辑块$]";
        this.insert = "如果[账号,底部角色=1,${1:跳转到}]";
        this.docs = "";
        this.tags.push("账号", "底部角色", "角色", "最后");
    }
}

@Insert
export class CommandCheckAccountRoleCount extends CommandCheck {
    constructor() {
        super();
        this.name = "检查账号角色数量";
        this.detail = "如果[账号,角色数量=1,$逻辑块$]";
        this.insert = "如果[账号,角色数量${1:=}${2:1},${3:跳转到}]";
        this.docs = "";
        this.tags.push("账号", "角色", "数量");
    }
}

@Insert
export class CommandCheckTransStatus extends CommandCheck {
    constructor() {
        super();
        this.name = "检查交易状态";
        this.detail = "如果[交易,交易状态=1,$逻辑块$]";
        this.insert = "如果[交易,交易状态=${1:1},${2:跳转到}]";
        this.docs = "状态枚举:\n1.存在交易提醒\n2.正在交易中";
        this.tags.push("交易", "状态");
    }
}

@Insert
export class CommandCheckNameEquipStrengthen extends CommandCheck {
    constructor() {
        super();
        this.name = "检查装备启灵";
        this.detail = "如果[灵,$装备$>1,$逻辑块$]";
        this.insert = "如果[灵,${1:装备}>${2:5},${3:跳转到}]";
        this.docs = "存在多个同名装备取背包中第一个";
        this.tags.push("装备", "启灵", "强化");
    }
}

@Insert
export class CommandCheckSkillLevel extends CommandCheck {
    constructor() {
        super();
        this.name = "检查技能等级";
        this.detail = "如果[技能,$技能$,等级=0,$逻辑块$]";
        this.insert = "如果[技能,${1:技能},等级${2:=}${3:1},${4:跳转到}]";
        this.docs = "";
        this.tags.push("技能", "等级", "角色");
    }
}

@Insert
export class CommandCheckTimer extends CommandCheck {
    constructor() {
        super();
        this.name = "检查计数器";
        this.detail = "如果[计数器,$名字$>0,$逻辑块$]";
        this.insert = "如果[计数器,${1:名字}>${2:0},${3:跳转到}]";
        this.docs = "";
        this.tags.push("计数器");
    }
}

@Insert
export class CommandCheckHallowsStrengthen extends CommandCheck {
    constructor() {
        super();
        this.name = "检查圣器强化等级";
        this.detail = "如果[圣器,$圣器$,强化等级=1,$逻辑块$]";
        this.insert = "如果[圣器,${1:圣器},强化等级${2:=}${3:1},${4:跳转到}]";
        this.docs = "";
        this.tags.push("圣器", "强化等级", "等级");
    }
}

@Insert
export class CommandCheckHallowsSkill extends CommandCheck {
    constructor() {
        super();
        this.name = "检查圣器技能名称";
        this.detail = "如果[圣器,$圣器$,技能名称=$技能$,$逻辑块$]";
        this.insert = "如果[圣器,${1:圣器},技能名称=${2:技能},${3:跳转到}]";
        this.docs = "";
        this.tags.push("圣器", "技能");
    }
}

@Insert
export class CommandCheckHallowsEffect extends CommandCheck {
    constructor() {
        super();
        this.name = "检查圣器词条";
        this.detail = "如果[圣器,$圣器$,词条数量,增加气血上限=1&&增加速度=1,$逻辑块$]";
        this.insert = "如果[圣器,${1:圣器},词条数量,${2:词条}${3:=}${4:1}{5:},${6:跳转到}]";
        this.docs = "圣器词条数量和属性判断,支持多个词条同时判断.例子:\n1.如果[圣器,天级乾圣器,词条数量,增加气血上限=1&&增加速度=1,同时存在两条]\n2.如果[圣器,天级乾圣器,词条数量,增加物理攻击=1&&增加物理攻击=1,双攻圣器]";
        this.tags.push("圣器", "词条");
    }
}

@Insert
export class CommandCheckEquipDurable extends CommandCheck {
    constructor() {
        super();
        this.name = "检查装备耐久";
        this.detail = "如果[耐久,武器<10,$逻辑块$]";
        this.insert = "如果[耐久,${1:武器}${2:<}${3:10},${4:跳转到}]";
        this.docs = "类型枚举:\n1.武器\n2.护手\n3.衣服\n4.项链\n......";
        this.tags.push("装备", "耐久");
    }
}

@Insert
export class CommandCheckVariable extends CommandCheck {
    constructor() {
        super();
        this.name = "检查变量";
        this.detail = "如果[变量,$变量名$=$值$,$逻辑块$]";
        this.insert = "如果[变量,${1:变量名}=${2:值},${3:跳转到}]";
        this.docs = "";
        this.tags.push("变量");
    }
}

@Insert
export class CommandCheckTaskDispatch extends CommandCheck {
    constructor() {
        super();
        this.name = "检查派遣任务";
        this.detail = "如果[派遣任务,青龙紫色=1,$逻辑块$]";
        this.insert = "如果[派遣任务,${1:青龙紫色}=1,${2:跳转到}]";
        this.docs = "派遣类型:\n1.青龙紫色\n2.青龙紫色\n3.白虎白色\n......";
        this.tags.push("派遣", "宠物", "任务");
    }
}